<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>服务回访</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="../../../css/wx/mui.min.css">
    <link rel="stylesheet" href="../../../css/wx/app.css"/>
    <link rel="stylesheet" href="../../../css/wx/style.css"/>
    <script type="text/javascript">
        var pageConfig = {
            jss: ["app/fwhf/fwhf"],
            cb: function (o) {
                app.requireCss(['css/wx/icons-extra', 'css/wx/wx-iconfont'], doc);
            }
        };
    </script>
    <script data-main="../../../js/wx/public/config" src="../../../js/require.js"></script>

    <style>
        .mui-control-content {
            min-height: -webkit-fill-available;
        }

        .mui-bar-nav ~ .mui-content .mui-pull-top-pocket {
            top: 0px;
        }

        .mui-table-view-cell:after {
            height: 0;
        }

        .mui-card {
            margin-bottom: 0;
        }

        .footBtn .mui-checkbox {
            background: #fff;
            line-height: 50px;
        }

        .footBtn .mui-checkbox input {
            top: -4px;
            left: 15px !important;
        }

        .footBtn .mui-checkbox label {
            padding-left: 44px;
        }

        .footBtn button {
            font-size: .5rem;
        }
        .mui-scroll-wrapper {
            bottom: 180px;
        }

        .mui-slider{
            bottom: -5px !important;
        }
    </style>
</head>

<body>

<div id="cliHight">
    <div id="searchs" class="mui-content">
        <div class="car" style="padding-top: 15px;">
            <div class="mui-row">
                <div class="mui-col-sm-4 mui-col-xs-4">
                    <span :class="'tip text-center' +(md.type == 0?' tip-active':'')" @tap.stop="today">今天</span>
                </div>
                <div class="mui-col-sm-4 mui-col-xs-4">
                    <span :class="'tip text-center' +(md.type == 1?' tip-active':'')" @tap.stop="tomorrow">明天</span>
                </div>
                <div class="mui-col-sm-4 mui-col-xs-4">
                    <span :class="'tip text-center' +(md.type == 2?' tip-active':'')" @tap.stop="all">全部</span>
                </div>
                <div class="mui-col-sm-12 mui-col-xs-12">
                    <div class="dataInput">
                        <input id="search_date"  type="date" v-model="md.date"/>
                        <span class="iconfont icon icon-01 puliColor_font"></span>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div id="slider" class="mui-slider responseSlider">
        <div id="sliderSegmentedControl"
             class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted shadow">
            <a class="mui-control-item" href="#item1mobile">
                未回访服务单
                <!--<span>(<span id="qs"></span>)</span>-->
            </a>
            <a class="mui-control-item" href="#item2mobile">
                已回访服务单
                <!--<span>(<span id="zg"></span>)</span>-->
            </a>
            <!--<a class="mui-control-item" href="#item3mobile">-->
                <!--全部服务单<span></span>-->
            <!--</a>-->
        </div>
        <div id="sliderProgressBar" class="mui-slider-progress-bar mui-col-xs-6"></div>
        <div class="mui-slider-group">
            <div id="item1mobile" class="mui-slider-item mui-control-content mui-active">
                <div id="scroll1" class="mui-scroll-wrapper">
                    <div class="mui-scroll">
                        <fwhf-listitem :model="items"></fwhf-listitem>
                    </div>
                </div>
            </div>
            <div id="item2mobile" class="mui-slider-item mui-control-content">
                <div id="scroll2" class="mui-scroll-wrapper">
                    <div class="mui-scroll">
                        <fwhf-listitem :model="items"></fwhf-listitem>
                    </div>
                </div>
            </div>
            <!--<div id="item3mobile" class="mui-slider-item mui-control-content">-->
                <!--<div id="scroll" class="mui-scroll-wrapper">-->
                    <!--<div class="mui-scroll">-->
                        <!--<fwhf-listitem :model="items"></fwhf-listitem>-->
                    <!--</div>-->
                <!--</div>-->
            <!--</div>-->
        </div>
    </div>
</div>
<script id="item-template" type="text/x-template">
    <ul class="mui-table-view">
        <li class="mui-table-view-cell" v-for="item in model">
            <div class="mui-card">
                <div class="mui-card-header">
                    <p><i class="iconfont icon icon-02 secondColor_font" style="margin-right: 5px;"></i>
                        <small style="font-size: 13px;">{{item.MMRDDOCNO}}</small>
                    </p>
                    <small class="secondColor_font" style="font-size: 12px">{{item.MMRGDOCDATE|dateFmt}}</small>
                </div>
                <div class="mui-card-content">
                    <div class="mui-card-content-inner">
                        <div class="mui-row">
                            <div class="mui-col-xs-6">
                                <p><span>客户名称：</span>{{item.GWAKL003}}</p>
                            </div>
                            <div class="mui-col-xs-12 flexl">
                                <p><span>客户地址：</span>{{item.GWAK028}}</p>
                            </div>
                            <div class="mui-col-xs-12">
                                <p><span>问题描述：</span>{{item.MMRD014}}</p>
                            </div>
                            <!--<div class="mui-col-xs-12">-->
                                <!--<div><span>客户评价：</span>-->
                                    <!--<div class="icons mui-inline" style="margin-left: 6px;">-->
                                        <!--<i data-index="1" class="mui-icon mui-icon-star"></i>-->
                                        <!--<i data-index="2" class="mui-icon mui-icon-star"></i>-->
                                        <!--<i data-index="3" class="mui-icon mui-icon-star"></i>-->
                                        <!--<i data-index="4" class="mui-icon mui-icon-star"></i>-->
                                        <!--<i data-index="5" class="mui-icon mui-icon-star"></i>-->
                                    <!--</div>-->
                                <!--</div>-->
                            <!--</div>-->
                        </div>
                    </div>
                </div>
                <div v-if="item.MMRD020==6" class="mui-card-footer"><span>客户满意度：非常满意</span>
                    <!--<p><span class="abge">已完成</span></p>-->
                </div>
                <div v-else class="mui-card-footer"><span></span>
                    <p class="abge" @tap.stop="open(item)">回访</p></div>

            </div>
        </li>
    </ul>
</script>
</body>
</html>